package com.laizhenghua.share.user.api.domain.entity;

import com.laizhenghua.share.common.core.annotation.Excel;
import com.laizhenghua.share.common.core.web.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 用户对象 user_info
 *
 * @author laizhenghua
 * @date 2025-10-10
 */
@Data
@Schema(description = "用户")
public class UserInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 微信openId
     */
    @Excel(name = "微信openId")
    @Schema(description = "微信openId")
    private String wxOpenId;

    /**
     * 会员昵称
     */
    @Excel(name = "会员昵称")
    @Schema(description = "会员昵称")
    private String nickname;

    /**
     * 性别
     */
    @Excel(name = "性别")
    @Schema(description = "性别")
    private String gender;

    /**
     * 头像
     */
    @Excel(name = "头像")
    @Schema(description = "头像")
    private String avatarUrl;

    /**
     * 电话
     */
    @Excel(name = "电话")
    @Schema(description = "电话")
    private String phone;

    /**
     * 1有效，2禁用
     */
    @Excel(name = "1有效，2禁用")
    @Schema(description = "1有效，2禁用")
    private String status;

    /**
     * 0未免押金 1免押金 2已交押金
     */
    @Excel(name = "0未免押金 1免押金 2已交押金")
    @Schema(description = "0未免押金 1免押金 2已交押金")
    private String depositStatus;
}
